package com.etc.demo1.demo.domain;


import lombok.Data;

@Data
public class User {
    private Integer user_id;
    private String user_name;
    private String user_password;
    private String user_sex;
    private Integer user_age;
    private Integer user_phone;
    private boolean user_judg;

    public User(Integer id, String user_name, String user_password, String user_sex, Integer user_age, Integer user_phone, boolean user_judg) {
        this.user_id = id;
        this.user_name = user_name;
        this.user_password = user_password;
        this.user_sex = user_sex;
        this.user_age = user_age;
        this.user_phone = user_phone;
        this.user_judg = user_judg;
    }

    public Integer getId() {
        return user_id;
    }

    public void setId(Integer id) {
        this.user_id = id;
    }

    public String getUser_name() {
        return user_name;
    }

    public void setUser_name(String user_name) {
        this.user_name = user_name;
    }

    public String getUser_password() {
        return user_password;
    }

    public void setUser_password(String user_password) {
        this.user_password = user_password;
    }

    public String getUser_sex() {
        return user_sex;
    }

    public void setUser_sex(String user_sex) {
        this.user_sex = user_sex;
    }

    public Integer getUser_age() {
        return user_age;
    }

    public void setUser_age(Integer user_age) {
        this.user_age = user_age;
    }

    public Integer getUser_phone() {
        return user_phone;
    }

    public void setUser_phone(Integer user_phone) {
        this.user_phone = user_phone;
    }

    public boolean isUser_judg() {
        return user_judg;
    }

    public void setUser_judg(boolean user_judg) {
        this.user_judg = user_judg;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + user_id +
                ", user_name='" + user_name + '\'' +
                ", user_password='" + user_password + '\'' +
                ", user_sex='" + user_sex + '\'' +
                ", user_age=" + user_age +
                ", user_phone=" + user_phone +
                ", user_judg=" + user_judg +
                '}';
    }
}
